package pl.edu.wsinf.lukaszwalczak.emailclient.repository;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import pl.edu.wsinf.lukaszwalczak.emailclient.pojo.Account;

@Repository
public interface AccountRepository extends JpaRepository<Account, Long> {

    public List<Account> findByEmailAddress(String emailAddress);
}
